package com.lzc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class WxTestController {

    /**
     * 微信服务测试网络连接
     * @return
     */
    @RequestMapping("/login/code")
    @ResponseBody
    public String testCode(@RequestParam("echostr") String echostr){
        return echostr;
    }
}
